<template>
  <div id="app">
    <router-view />
    <button class="back jump-btn" @click="backHome">Home</button>
  </div>
</template>

<script>

export default {
  name: 'App',
  methods: {
    backHome() {
      this.$router.push('/')
    }
  }
}
</script>

<style lang="less" scoped>
.back {
  position: fixed;
  z-index: 10;
  bottom: 120px;
  right: 10px;
}
</style>
